/**
 * Created by Administrator on 2016/9/16 0016.
 */
//获取书本的基本信息的配置
module.exports = {
    "url":"",
    "encode":"gbk",  //默认utf8
    "content":[{
        "name":"bookName",
        "selector":"#maininfo #info h1",
        "eq":0,
        "value":[{
            "type":"text"
        }]
    },{
        "name":"author",
        "selector":"#maininfo #info p",
        "eq":0,
        "value":[{
            "type":"text"
        }]
    },{
        "name":"updateDate",
        "selector":"#maininfo #info p",
        "eq":2,
        "value":[{
            "type":"text"
        }]
    },{
        "name":"updateChapter",
        "selector":"#maininfo #info p",
        "eq":3,
        "value":[{
            "type":"text"
        }]
    },{
        "name":"description",
        "selector":"#maininfo #intro p",
        "eq":0,
        "value":[{
            "type":"text"
        }]
    },{
        "name":"chapterList",
        "selector":"#list dd a",
        "value":[{
            "name":"chapterName",
            "type":"text"
        },{
            "name":"chapterHref",
            "type":"attr",
            "attribute":"href"
        }]
    }
    ]
}